Intramedullary locked nail